package ylsb.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class YltpXiangmuExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public YltpXiangmuExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andXiangmuidIsNull() {
            addCriterion("xiangmuid is null");
            return (Criteria) this;
        }

        public Criteria andXiangmuidIsNotNull() {
            addCriterion("xiangmuid is not null");
            return (Criteria) this;
        }

        public Criteria andXiangmuidEqualTo(String value) {
            addCriterion("xiangmuid =", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotEqualTo(String value) {
            addCriterion("xiangmuid <>", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidGreaterThan(String value) {
            addCriterion("xiangmuid >", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidGreaterThanOrEqualTo(String value) {
            addCriterion("xiangmuid >=", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidLessThan(String value) {
            addCriterion("xiangmuid <", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidLessThanOrEqualTo(String value) {
            addCriterion("xiangmuid <=", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidLike(String value) {
            addCriterion("xiangmuid like", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotLike(String value) {
            addCriterion("xiangmuid not like", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidIn(List<String> values) {
            addCriterion("xiangmuid in", values, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotIn(List<String> values) {
            addCriterion("xiangmuid not in", values, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidBetween(String value1, String value2) {
            addCriterion("xiangmuid between", value1, value2, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotBetween(String value1, String value2) {
            addCriterion("xiangmuid not between", value1, value2, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmunameIsNull() {
            addCriterion("xiangmuname is null");
            return (Criteria) this;
        }

        public Criteria andXiangmunameIsNotNull() {
            addCriterion("xiangmuname is not null");
            return (Criteria) this;
        }

        public Criteria andXiangmunameEqualTo(String value) {
            addCriterion("xiangmuname =", value, "xiangmuname");
            return (Criteria) this;
        }

        public Criteria andXiangmunameNotEqualTo(String value) {
            addCriterion("xiangmuname <>", value, "xiangmuname");
            return (Criteria) this;
        }

        public Criteria andXiangmunameGreaterThan(String value) {
            addCriterion("xiangmuname >", value, "xiangmuname");
            return (Criteria) this;
        }

        public Criteria andXiangmunameGreaterThanOrEqualTo(String value) {
            addCriterion("xiangmuname >=", value, "xiangmuname");
            return (Criteria) this;
        }

        public Criteria andXiangmunameLessThan(String value) {
            addCriterion("xiangmuname <", value, "xiangmuname");
            return (Criteria) this;
        }

        public Criteria andXiangmunameLessThanOrEqualTo(String value) {
            addCriterion("xiangmuname <=", value, "xiangmuname");
            return (Criteria) this;
        }

        public Criteria andXiangmunameLike(String value) {
            addCriterion("xiangmuname like", value, "xiangmuname");
            return (Criteria) this;
        }

        public Criteria andXiangmunameNotLike(String value) {
            addCriterion("xiangmuname not like", value, "xiangmuname");
            return (Criteria) this;
        }

        public Criteria andXiangmunameIn(List<String> values) {
            addCriterion("xiangmuname in", values, "xiangmuname");
            return (Criteria) this;
        }

        public Criteria andXiangmunameNotIn(List<String> values) {
            addCriterion("xiangmuname not in", values, "xiangmuname");
            return (Criteria) this;
        }

        public Criteria andXiangmunameBetween(String value1, String value2) {
            addCriterion("xiangmuname between", value1, value2, "xiangmuname");
            return (Criteria) this;
        }

        public Criteria andXiangmunameNotBetween(String value1, String value2) {
            addCriterion("xiangmuname not between", value1, value2, "xiangmuname");
            return (Criteria) this;
        }

        public Criteria andMeetingtimeIsNull() {
            addCriterion("meetingtime is null");
            return (Criteria) this;
        }

        public Criteria andMeetingtimeIsNotNull() {
            addCriterion("meetingtime is not null");
            return (Criteria) this;
        }

        public Criteria andMeetingtimeEqualTo(Date value) {
            addCriterion("meetingtime =", value, "meetingtime");
            return (Criteria) this;
        }

        public Criteria andMeetingtimeNotEqualTo(Date value) {
            addCriterion("meetingtime <>", value, "meetingtime");
            return (Criteria) this;
        }

        public Criteria andMeetingtimeGreaterThan(Date value) {
            addCriterion("meetingtime >", value, "meetingtime");
            return (Criteria) this;
        }

        public Criteria andMeetingtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("meetingtime >=", value, "meetingtime");
            return (Criteria) this;
        }

        public Criteria andMeetingtimeLessThan(Date value) {
            addCriterion("meetingtime <", value, "meetingtime");
            return (Criteria) this;
        }

        public Criteria andMeetingtimeLessThanOrEqualTo(Date value) {
            addCriterion("meetingtime <=", value, "meetingtime");
            return (Criteria) this;
        }

        public Criteria andMeetingtimeIn(List<Date> values) {
            addCriterion("meetingtime in", values, "meetingtime");
            return (Criteria) this;
        }

        public Criteria andMeetingtimeNotIn(List<Date> values) {
            addCriterion("meetingtime not in", values, "meetingtime");
            return (Criteria) this;
        }

        public Criteria andMeetingtimeBetween(Date value1, Date value2) {
            addCriterion("meetingtime between", value1, value2, "meetingtime");
            return (Criteria) this;
        }

        public Criteria andMeetingtimeNotBetween(Date value1, Date value2) {
            addCriterion("meetingtime not between", value1, value2, "meetingtime");
            return (Criteria) this;
        }

        public Criteria andZhuangjiashuIsNull() {
            addCriterion("zhuangjiashu is null");
            return (Criteria) this;
        }

        public Criteria andZhuangjiashuIsNotNull() {
            addCriterion("zhuangjiashu is not null");
            return (Criteria) this;
        }

        public Criteria andZhuangjiashuEqualTo(Integer value) {
            addCriterion("zhuangjiashu =", value, "zhuangjiashu");
            return (Criteria) this;
        }

        public Criteria andZhuangjiashuNotEqualTo(Integer value) {
            addCriterion("zhuangjiashu <>", value, "zhuangjiashu");
            return (Criteria) this;
        }

        public Criteria andZhuangjiashuGreaterThan(Integer value) {
            addCriterion("zhuangjiashu >", value, "zhuangjiashu");
            return (Criteria) this;
        }

        public Criteria andZhuangjiashuGreaterThanOrEqualTo(Integer value) {
            addCriterion("zhuangjiashu >=", value, "zhuangjiashu");
            return (Criteria) this;
        }

        public Criteria andZhuangjiashuLessThan(Integer value) {
            addCriterion("zhuangjiashu <", value, "zhuangjiashu");
            return (Criteria) this;
        }

        public Criteria andZhuangjiashuLessThanOrEqualTo(Integer value) {
            addCriterion("zhuangjiashu <=", value, "zhuangjiashu");
            return (Criteria) this;
        }

        public Criteria andZhuangjiashuIn(List<Integer> values) {
            addCriterion("zhuangjiashu in", values, "zhuangjiashu");
            return (Criteria) this;
        }

        public Criteria andZhuangjiashuNotIn(List<Integer> values) {
            addCriterion("zhuangjiashu not in", values, "zhuangjiashu");
            return (Criteria) this;
        }

        public Criteria andZhuangjiashuBetween(Integer value1, Integer value2) {
            addCriterion("zhuangjiashu between", value1, value2, "zhuangjiashu");
            return (Criteria) this;
        }

        public Criteria andZhuangjiashuNotBetween(Integer value1, Integer value2) {
            addCriterion("zhuangjiashu not between", value1, value2, "zhuangjiashu");
            return (Criteria) this;
        }

        public Criteria andTongguoshuIsNull() {
            addCriterion("tongguoshu is null");
            return (Criteria) this;
        }

        public Criteria andTongguoshuIsNotNull() {
            addCriterion("tongguoshu is not null");
            return (Criteria) this;
        }

        public Criteria andTongguoshuEqualTo(Integer value) {
            addCriterion("tongguoshu =", value, "tongguoshu");
            return (Criteria) this;
        }

        public Criteria andTongguoshuNotEqualTo(Integer value) {
            addCriterion("tongguoshu <>", value, "tongguoshu");
            return (Criteria) this;
        }

        public Criteria andTongguoshuGreaterThan(Integer value) {
            addCriterion("tongguoshu >", value, "tongguoshu");
            return (Criteria) this;
        }

        public Criteria andTongguoshuGreaterThanOrEqualTo(Integer value) {
            addCriterion("tongguoshu >=", value, "tongguoshu");
            return (Criteria) this;
        }

        public Criteria andTongguoshuLessThan(Integer value) {
            addCriterion("tongguoshu <", value, "tongguoshu");
            return (Criteria) this;
        }

        public Criteria andTongguoshuLessThanOrEqualTo(Integer value) {
            addCriterion("tongguoshu <=", value, "tongguoshu");
            return (Criteria) this;
        }

        public Criteria andTongguoshuIn(List<Integer> values) {
            addCriterion("tongguoshu in", values, "tongguoshu");
            return (Criteria) this;
        }

        public Criteria andTongguoshuNotIn(List<Integer> values) {
            addCriterion("tongguoshu not in", values, "tongguoshu");
            return (Criteria) this;
        }

        public Criteria andTongguoshuBetween(Integer value1, Integer value2) {
            addCriterion("tongguoshu between", value1, value2, "tongguoshu");
            return (Criteria) this;
        }

        public Criteria andTongguoshuNotBetween(Integer value1, Integer value2) {
            addCriterion("tongguoshu not between", value1, value2, "tongguoshu");
            return (Criteria) this;
        }

        public Criteria andXiangmuleixingIsNull() {
            addCriterion("xiangmuleixing is null");
            return (Criteria) this;
        }

        public Criteria andXiangmuleixingIsNotNull() {
            addCriterion("xiangmuleixing is not null");
            return (Criteria) this;
        }

        public Criteria andXiangmuleixingEqualTo(String value) {
            addCriterion("xiangmuleixing =", value, "xiangmuleixing");
            return (Criteria) this;
        }

        public Criteria andXiangmuleixingNotEqualTo(String value) {
            addCriterion("xiangmuleixing <>", value, "xiangmuleixing");
            return (Criteria) this;
        }

        public Criteria andXiangmuleixingGreaterThan(String value) {
            addCriterion("xiangmuleixing >", value, "xiangmuleixing");
            return (Criteria) this;
        }

        public Criteria andXiangmuleixingGreaterThanOrEqualTo(String value) {
            addCriterion("xiangmuleixing >=", value, "xiangmuleixing");
            return (Criteria) this;
        }

        public Criteria andXiangmuleixingLessThan(String value) {
            addCriterion("xiangmuleixing <", value, "xiangmuleixing");
            return (Criteria) this;
        }

        public Criteria andXiangmuleixingLessThanOrEqualTo(String value) {
            addCriterion("xiangmuleixing <=", value, "xiangmuleixing");
            return (Criteria) this;
        }

        public Criteria andXiangmuleixingLike(String value) {
            addCriterion("xiangmuleixing like", value, "xiangmuleixing");
            return (Criteria) this;
        }

        public Criteria andXiangmuleixingNotLike(String value) {
            addCriterion("xiangmuleixing not like", value, "xiangmuleixing");
            return (Criteria) this;
        }

        public Criteria andXiangmuleixingIn(List<String> values) {
            addCriterion("xiangmuleixing in", values, "xiangmuleixing");
            return (Criteria) this;
        }

        public Criteria andXiangmuleixingNotIn(List<String> values) {
            addCriterion("xiangmuleixing not in", values, "xiangmuleixing");
            return (Criteria) this;
        }

        public Criteria andXiangmuleixingBetween(String value1, String value2) {
            addCriterion("xiangmuleixing between", value1, value2, "xiangmuleixing");
            return (Criteria) this;
        }

        public Criteria andXiangmuleixingNotBetween(String value1, String value2) {
            addCriterion("xiangmuleixing not between", value1, value2, "xiangmuleixing");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createtime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createtime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createtime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createtime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createtime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createtime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createtime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createtime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createtime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createtime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createtime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createtime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andIsactivedIsNull() {
            addCriterion("isactived is null");
            return (Criteria) this;
        }

        public Criteria andIsactivedIsNotNull() {
            addCriterion("isactived is not null");
            return (Criteria) this;
        }

        public Criteria andIsactivedEqualTo(Integer value) {
            addCriterion("isactived =", value, "isactived");
            return (Criteria) this;
        }

        public Criteria andIsactivedNotEqualTo(Integer value) {
            addCriterion("isactived <>", value, "isactived");
            return (Criteria) this;
        }

        public Criteria andIsactivedGreaterThan(Integer value) {
            addCriterion("isactived >", value, "isactived");
            return (Criteria) this;
        }

        public Criteria andIsactivedGreaterThanOrEqualTo(Integer value) {
            addCriterion("isactived >=", value, "isactived");
            return (Criteria) this;
        }

        public Criteria andIsactivedLessThan(Integer value) {
            addCriterion("isactived <", value, "isactived");
            return (Criteria) this;
        }

        public Criteria andIsactivedLessThanOrEqualTo(Integer value) {
            addCriterion("isactived <=", value, "isactived");
            return (Criteria) this;
        }

        public Criteria andIsactivedIn(List<Integer> values) {
            addCriterion("isactived in", values, "isactived");
            return (Criteria) this;
        }

        public Criteria andIsactivedNotIn(List<Integer> values) {
            addCriterion("isactived not in", values, "isactived");
            return (Criteria) this;
        }

        public Criteria andIsactivedBetween(Integer value1, Integer value2) {
            addCriterion("isactived between", value1, value2, "isactived");
            return (Criteria) this;
        }

        public Criteria andIsactivedNotBetween(Integer value1, Integer value2) {
            addCriterion("isactived not between", value1, value2, "isactived");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}